[@com.header _title="字典管理"]
<link rel="stylesheet" href="${base}/res/components/bootstrap-table/dist/bootstrap-table.min.css"/>
[/@com.header]
[@com.body]
<section class="content container-fluid">
	<div class="box box-info">
		<div class="box-header with-border">
			<a href="edit" class="btn btn-info"><i class="fa fa-plus"></i> 添加</a>
			<button class="btn btn-primary" l-modify data-table="#tblist"><i class="fa fa-edit"></i> 修改</button>
			<button class="btn btn-danger" l-remove data-table="#tblist"><i class="fa fa-trash"></i> 删除</button>
		</div>
		<div class="box-body">
			<form class="form-inline" id="form-dict-search" onsubmit="return false">
				<div class="form-group">
					<input type="text" name="name" class="form-control" placeholder="字典名称" />
				</div>
                <div class="form-group">
                    <input type="text" name="dictKey" class="form-control" placeholder="字典key" />
                </div>
				<div class="form-group">
					<button id="btn-search" type="submit" class="btn btn-default">
						<i class="fa fa-search"></i> 查 询
					</button>
					<button id="btn-reset" type="reset" class="btn btn-default">
						<i class="fa fa-repeat"></i> 重 置
					</button>
				</div>
			</form>
			<table id="tblist" l-table data-toolbar="#toolbar" data-url='page'>
				<thead>
					<tr>
						<th data-checkbox="true">ID</th>
						<th data-field="name">字典名称</th>
						<th data-field="dictKey">字典key</th>
						<th data-field="notes">备注</th>
						<th data-field="createTime" data-formatter="base.tableColDateTime">创建时间</th>
                        <th data-field="id" data-align="center" data-formatter="base.tableColOpt">操作</th>
					</tr>
				</thead>
			</table>
		</div>
	</div>
</section>
[/@com.body]
<script type="text/javascript" src="${base}/res/components/bootstrap-table/dist/bootstrap-table.min.js"></script>
<script type="text/javascript" src="${base}/res/components/bootstrap-table/dist/locale/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="${base}/res/js/system/dict.js"></script>
